<?php header("content-type: text/javascript"); ?>

//-------------------------------------------------------------------------------------------------

(function(window, document, undefined) {
	
<?php
include "xb.js";

include "TopLevel.js";
?>

//-------------------------------------------------------------------------------------------------

	var cove = {};

//-------------------------------------------------------------------------------------------------

	cove.events = {};

//	The cove.events package supports the new DOM event model and includes the EventDispatcher base
//	class.

<?php
include "events/EventDispatcher.js";
include "events/Event.js";
include "events/MouseEvent.js";
?>

//-------------------------------------------------------------------------------------------------

	cove.display = {};

//	The cove.display package contains the core classes that the Cove Player uses to build visual
//	displays.

<?php
include "display/DisplayObject.js";
include "display/InteractiveObject.js";
include "display/DisplayObjectContainer.js";
include "display/Graphics.js";
include "display/Shape.js";
include "display/Stage.js";
?>

//-------------------------------------------------------------------------------------------------

	cove.geom = {};

//	The cove.geom package contains geometry classes, such as points, rectangles and transformation
//	matrixes, to support the BitmapData class and the bitmap caching feature.

<?php
include "geom/ColorTransform.js";
include "geom/Point.js";
include "geom/Rectangle.js";
include "geom/Matrix.js";
include "geom/Transform.js";
?>

//-------------------------------------------------------------------------------------------------

	cove.utils = {};

//	The cove.utils package contains utility classes, such as data structures like ByteArray.

<?php
include "utils/clearInterval.js";
include "utils/clearTimeout.js";
include "utils/describeType.js";
include "utils/setInterval.js";
include "utils/setTimeout.js";
?>

//-------------------------------------------------------------------------------------------------

<?php
include "Pool.js";
?>

//-------------------------------------------------------------------------------------------------

window.cove = cove;

}(window, document));
